<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/MarkItUp.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Main" runat="server">
    <script type="text/javascript">
        function Register()
        {
          $.post('<%= Html.ResolveUrl("~/Account/Registration") %>', {
                username : $('#username').val(),
                email : $('#email').val(),
                password : $('#password').val(),
                name : $('#name').val()
            } , function(response){});
        }
    </script>
    <h2>Registration</h2>
    <label for="username" >Username</label>
    <input type="text" id="username" />
    <label for="email" >E-mail</label>
    <input type="text" id="email" />
    <label for="password" >Password</label>
    <input type="text" id="password" />
    <label for="name" >Name</label>
    <input type="text" id="name" />
    <a href="javascript:Register();">Register</a>
    
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
</asp:Content>
